using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Data_Object{
  
    public class DaoFactories
    {
        public static IDaoFactory GetFactory(string dataProvider)
        {
            // Return the requested DaoFactory
            switch (dataProvider)
            {
                case "System.Data.OleDb": return new AccessDaoFactory();
                
                // Default: 
                default: return  new AccessDaoFactory();
            }
        }
    }
}
